package com.crm.sys.dao.impl;

import org.springframework.stereotype.Repository;

import com.crm.base.dao.BaseDao;
import com.crm.sys.dao.FilesInfoDao;
import com.crm.sys.model.FilesInfo;
@Repository("filesInfoDao")
public class FilesInfoDaoImpl extends BaseDao implements FilesInfoDao {

	private static final String MAPPER_NAMESAPCE = "FilesInfoMapper.";
	
	@Override
	public FilesInfo inserFilesInfo(FilesInfo info) {
		insert(MAPPER_NAMESAPCE+"insert", info);
		return info;
	}

	@Override
	public FilesInfo getFilesInfoByID(FilesInfo info) {
		return selectOne(MAPPER_NAMESAPCE+"selectByPrimaryKey", info);
	}

	/*@Override
	public List<BillFile> getFilesInfoByBillID(BillFile bfe) {
		return selectList(MAPPER_NAMESAPCE+"selectByPrimaryKeyByBillId", bfe);
	}*/

}
